package homework.billing;

import homework.billing.meter.simple.LadderMeter;

public class ElectricityMeter {

    public static void main(String[] args) {
        LadderMeter meter = new LadderMeter();
        meter.addLadder(0, 0.6F);
        meter.addLadder(180, 0.65F);
        meter.addLadder(350, 0.9F);

        System.out.println(meter.cost(181));
    }
}
